From 40b004d6ee858af7ad162ceb4d7f13be7ae2b129 Mon Sep 17 00:00:00 2001 From: Boris Ostrovsky Date: Mon, 10 Oct 2011 10:09:17 +0200 Subject: [PATCH] x86/AMD: Remove AMD_ERRATUM_400 definition AMD_ERRATUM_400 was used to determine whether the processor supports Always Running APIC Counter (ARAT) feature in init_amd(). Now that ARAT support is based solely on family number this macro is no longer needed. Keep it in comments section as an example in case we ever need to use it for somethnig else. Signed-off-by: Boris Ostrovsky Committed-by: Jan Beulich --- xen/include/asm-x86/amd.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xen/include/asm-x86/amd.h b/xen/include/asm-x86/amd.h index 283c172074..d7fb1a5b53 100644 --- a/xen/include/asm-x86/amd.h +++ b/xen/include/asm-x86/amd.h @@ -134,10 +134,6 @@ AMD_OSVW_ERRATUM(3, AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf), \ AMD_MODEL_RANGE(0x12, 0x0, 0x0, 0x1, 0x0)) -#define AMD_ERRATUM_400 \ - AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf), \ - AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf)) - struct cpuinfo_x86; int cpu_has_amd_erratum(const struct cpuinfo_x86 *, int, ...); -- 2.30.2